package com.itheima.基础案例.Demo1;

import java.util.Date;

public class Course {
    private  String id;
    private String name;
    private Date time;
    private  String miaoshu;

    public Course() {
    }

    public Course(String id, String name, Date time, String miaoshu) {
        this.id = id;
        this.name = name;
        this.time = time;
        this.miaoshu = miaoshu;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getMiaoshu() {
        return miaoshu;
    }

    public void setMiaoshu(String miaoshu) {
        this.miaoshu = miaoshu;
    }

    @Override
    public String toString() {
        return "Course{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", time=" + time +
                ", miaoshu='" + miaoshu + '\'' +
                '}';
    }
}
